package com.happyrecyclingstation.controller.admin;

import com.happyrecyclingstation.utils.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 管理员
 */
@Slf4j
@RestController
@RequestMapping("/admin")
public class AdminController {

    /**
     * 测试接口
     * @return
     */
    @RequestMapping("/test")
    public Result test() {
        log.info("管理员测试");
        return Result.success();
    }
}
